<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>selfevaluate</title>
  <link rel="stylesheet" href="../css/index.css" />
  <link rel="stylesheet" href="../css/element-ui/lib/theme-chalk/index.css"/>
</head>
<body>
  <div id="app">
  	<div class="header">
  		<el-row>
  			<el-col :span="24">考核自评</el-col>
  		</el-row>
  	</div>
  	<div class="content">
  		<el-row :gutter="12" type="flex" justify="center" align="middle">
			<el-form label-width="80px" size="large">
				<el-form-item label="考核目标">
				    <el-input
						  type="textarea"
						  :autosize="{ minRows: 2, maxRows: 5}"
						  placeholder="了解yii2，能独立开发基本功能"
						  v-model="textarea1"
						  id="access_target">
					</el-input>
			    </el-form-item>
				<el-form-item label="所占比例">
				  	<el-input type="text" v-model="percent" @blur="precentage" ></el-input>
				</el-form-item>
				<el-form-item label="考核季度" prop="period">
				  	<el-select placeholder="请选择季度" v-model="period">
				      <el-option 
				      	v-for="item in periodOptions" 
				      	:label="item.label" 
				      	:value="item.value"
				      	id="period">
				      </el-option>
				    </el-select>
				</el-form-item>
				<el-form-item label="案例">
				    <el-input
						  type="textarea"
						  :autosize="{ minRows: 2, maxRows: 5}"
						  placeholder="承担xxx系统中xxx功能模块的开发"
						  v-model="textarea2"
						  >
					</el-input>
			    </el-form-item>
				<el-form-item label="自评分数" prop="point" >
				    <el-select placeholder="请选择" v-model="point">
				      <el-option 
				      	v-for="item in selfPoints" 
				      	:key="item.value" 
				      	:label="item.label" 
				      	:value="item.value"
				      	id="selfpoint">
				      </el-option>
				    </el-select>
				</el-form-item>
				<el-form-item label="得分">
					<div class="gogal">{{final}}</div>
				</el-form-item>
				<el-form-item>
				    <el-button type="info" @click="onSubmit">保存</el-button>
				</el-form-item>
			</el-form>
		</el-row>
  	</div>
  </div>
</body>
<!-- 先引入 Vue -->
<script type="text/javascript" src="../js/vue/dist/vue.min.js"></script>
<script type="text/javascript" src="../js/vue-resource/dist/vue-resource.min.js"></script>
<!-- 引入组件库 -->
<script src="../css/element-ui/lib/index.js"></script>
<script src="../js/selfevaluate.js"></script>
</html>
